package com.ruoyi.Warehouse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预警设置表对象 inventoryalerts
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class Inventoryalerts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long alertId;

    /**  */
    @Excel(name = "")
    private Long cardId;

    /** 最低库存量 */
    @Excel(name = "最低库存量")
    private Long minQuantity;

    /** 最高库存量 */
    @Excel(name = "最高库存量")
    private Long maxQuantity;

    /** 是否罕贵度特定 */
    @Excel(name = "是否罕贵度特定")
    private Integer raritySpecific;

    /**  */
    @Excel(name = "")
    private String createdBy;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setAlertId(Long alertId) 
    {
        this.alertId = alertId;
    }

    public Long getAlertId() 
    {
        return alertId;
    }

    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }

    public void setMinQuantity(Long minQuantity) 
    {
        this.minQuantity = minQuantity;
    }

    public Long getMinQuantity() 
    {
        return minQuantity;
    }

    public void setMaxQuantity(Long maxQuantity) 
    {
        this.maxQuantity = maxQuantity;
    }

    public Long getMaxQuantity() 
    {
        return maxQuantity;
    }

    public void setRaritySpecific(Integer raritySpecific) 
    {
        this.raritySpecific = raritySpecific;
    }

    public Integer getRaritySpecific() 
    {
        return raritySpecific;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alertId", getAlertId())
            .append("cardId", getCardId())
            .append("minQuantity", getMinQuantity())
            .append("maxQuantity", getMaxQuantity())
            .append("raritySpecific", getRaritySpecific())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
